package com.aspose.cells;

class zbxy extends zcdb {
   zbxy() {
      this.d = 137;
   }

   void a(Worksheet var1) {
      this.c = new byte[30];
      byte var2 = 0;
      if (var1.getShowFormulas()) {
         var2 = (byte)(var2 | 2);
      }

      if (var1.isGridlinesVisible()) {
         var2 = (byte)(var2 | 4);
      }

      if (var1.isRowColumnHeadersVisible()) {
         var2 = (byte)(var2 | 8);
      }

      if (var1.getDisplayZeros()) {
         var2 = (byte)(var2 | 16);
      }

      if (var1.getDisplayRightToLeft()) {
         var2 = (byte)(var2 | 32);
      }

      if (var1.isSelected()) {
         var2 = (byte)(var2 | 64);
      }

      if (var1.isPageBreakPreview()) {
         var2 = (byte)(var2 | 128);
      }

      this.c[0] = var2;
      var2 = 0;
      if (var1.isOutlineShown()) {
         var2 = (byte)(var2 | 1);
      }

      this.c[1] = var2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getFirstVisibleRow()), 0, this.c, 6, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getFirstVisibleColumn()), 0, this.c, 10, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.x()), 0, this.c, 14, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getZoom()), 0, this.c, 18, 2);
      this.c[20] = 100;
      this.c[22] = 60;
      this.c[24] = 100;
      this.c[26] = 0;
   }
}
